package com.spboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;

/**
 * 2 启动类
 * 内置tomcat 8080
 * @author Administrator
 *
 */
//1.自动扫描该启动类所在的父包下所有子包的类
//2.不是同一个父包需要手动扫描
// 开启手动扫描,自动扫描失效,必须手动填写所有要扫描的父包
//@ComponentScan(basePackages = {"com.jbit","com.spboot"}) 

@SpringBootApplication // 标识springboot应用
//@EnableAspectJAutoProxy 开启Aop
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
